package com.study.demo_mongodb.dao;

import com.study.demo_mongodb.bean.Book;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

/**
 * @ClassName: BookDao
 * @Description:
 * @author: WS
 * @date 2020/12/21
 * @Version: 1.0
 **/
public interface BookDao extends MongoRepository<Book,Integer> {
    public List<Book> findBooksByNameContaining(String name);
}
